home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 950 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.1 KB

  1. From: ajay@lehman.com (Ajay Kamdar)
  2. Message-ID: <199604031701.MAA16591@jabba.lehman.com>
  3. X-Original-Date: Wed, 3 Apr 1996 12:01:56 -0500
  4. Path: in2.uu.net!bounce-back
  5. Date: 03 Apr 96 17:25:19 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Subject: Re: delete vs incomplete class type
  8. Newsgroups: comp.std.c++
  9. References: <sjcDownA7.6FA@netcom.com> <4jcdp0$b3p@venus.mcs.com> <sjcDp7BEy.3J4@netcom.com> <3160CA2D.646FFC15@cantrip.org>
  10. Organization: Lehman Brothers, Inc.
  11. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  12.     iQBFAgUBMWK0i+EDnX0m9pzZAQGbIwF9E8gm+pH7cGMf2rbN0ZJVfnu/vL93q8f+
  13.     pj8rLZQWOUa/CNa4pYYD2TV6F64AQfT+
  14.     =s2iA
  15.  
  16. In article <3160CA2D.646FFC15@cantrip.org>,
  17. Nathan Myers, http://www.cantrip.org/ <ncm@cantrip.org> wrote:
  18. >Steven Correll (sjc@netcom.com) wrote:
  19. >>
  20. >> I don't see how a compiler could avoid noticing that it hasn't a clue what
  21. >> destructor to invoke at compilation time. Is there a reason ... not to 
  22. >> require the compiler to diagnose this as an error, instead of allowing 
  23. >> it to fault at execution time?
  24. >
  25. >I have to agree with Steven ... it's silly to talk about preserving
  26. >legacy C code that has "delete" statements in it.  Given the great
  27. >difficulty in finding bugs introduced this way, and the great ease of
  28. >introducing them accidentally through inclusion errors, we certainly
  29. >should change something.
  30. >
  31. >Fortunately fixing this would be a restriction, not an extension,
  32. >and thus is still conceivable in this round of standardization.
  33.  
  34. So are you volunteering to champion a formal proposal to the
  35. committee to add this restriction in this round of standardization?
  36.  
  37. Although it doesn't count in the committee, you do have my vote.
  38.  
  39. ---
  40. Ajay Kamdar        |    Email: ajay@lehman.com    |    Standard Disclaimer 
  41. Lehman Brothers    |    Phone: (201) 524-5048     |
  42. ---
  43. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  44. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  45. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  46. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  47. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  48.